import os
import time

from selenium import webdriver
from selenium.webdriver.common.by import By

# driver = webdriver.Chrome()
# url = "file:///" + os.path.abspath("../html1") + "/radio-checkbox.html"
# driver.get(url)
# driver.maximize_window()
# input = driver.find_elements(By.XPATH, " //input[@type='checkbox']")
# for input1 in input:
#     time.sleep(2)
#     input1.click()
# driver.quit()
driver = webdriver.Chrome()
url = "file:///" + os.path.abspath("../html1") + "/radio-checkbox.html"
driver.get(url)
driver.maximize_window()
input1 = driver.find_elements(By.TAG_NAME, 'input')
for input2 in input1:
    input2.click()

time.sleep(2)
driver.quit()



